home *** CD-ROM | disk | FTP | other *** search
- Path: access1.digex.net!not-for-mail
- From: ell@access1.digex.net (Ell)
- Newsgroups: comp.lang.c++
- Subject: Re: Virtual Constructors (how to implement)?
- Date: 18 Feb 1996 13:36:39 GMT
- Organization: The Universe
- Message-ID: <4g7a17$rj@news4.digex.net>
- References: <4g0lle$nmq@jobe.shell.portal.com> <31250177.4CAD@cs.rpi.edu>
- NNTP-Posting-Host: access1.digex.net
- X-Newsreader: TIN [UNIX 1.3 950824BETA PL0]
-
- Bowden Wise (wiseb@cs.rpi.edu) wrote:
- :...
- : This is known as the handle/body idiom; Socket is the handle
- : where Packet is the body. It is also called the "Bridge"
- : pattern by Gamma, Helm, Johnson, and Vlissides in Design Patterns:
- : Elements of Reusable Object-Oriented Software.
-
- As I've used them the handle/body idiom is more about two classes/objects
- acting as one abstraction, and the bridge about relating two related
- abstractions. This is also what I get from my reading of Stroustrup
- C++PL, Coplien's Advanced C++ (handle/body) and the Design Patterns book
- (bridge).
-
- Elliott
-